package com.game.src.main;

import java.awt.image.BufferedImage;

public class Textures {
	
	public BufferedImage player, bullet, meteor, explosion1, explosion2, explosion3, smallexplosion;
	
	private SpriteSheet ss;
	
	public  Textures(Game game){
		ss = new SpriteSheet(game.getSpriteSheet());
		getTextures();
	}
	
	private void getTextures(){
		player = ss.grabImage(1, 1, 64, 64);
		bullet = ss.grabImage(3, 1, 64, 64);
		meteor = ss.grabImage(5, 1, 64, 64);
		explosion1 = ss.grabImage(7, 1, 64, 64);
		smallexplosion = ss.grabImage(1, 3, 64, 64);
		
	}
}
